package net.lab1024.sa.admin.module.workflow.domain.form;


import com.alibaba.excel.annotation.ExcelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import net.lab1024.sa.base.common.domain.BaseEntity;
import net.lab1024.sa.base.common.domain.PageParam;

import javax.validation.constraints.NotBlank;
import javax.validation.constraints.NotNull;

/**
 * 流程表单业务对象
 *
 * @author KonBAI
 * @createTime 2022/3/7 22:07
 */
@Data
@EqualsAndHashCode(callSuper = true)
public class WfFormBo extends PageParam {
    private static final long serialVersionUID = 1L;

    /**
     * 表单主键
     */
    @NotNull(message = "表单ID不能为空")
    private Long formId;

    /**
     * 表单名称
     */
    @NotBlank(message = "表单名称不能为空")
    private String formName;

    @NotBlank(message = "关联流程不能为空")
    private String processKey;


    /**
     * 组件路径
     */
    @NotBlank(message = "组件路径不能为空")
    private String componentPath;

    @NotBlank(message = "服务路径不能为空")
    private String servicePath;






    /**
     * 备注
     */
    private String remark;
}
